.TH MPE_Get_mouse_press 4 "3/4/2011" " " "MPE"
.SH NAME
MPE_Get_mouse_press \-  Waits for mouse button press 
.SH SYNOPSIS
.nf
#include "mpe.h" 
int MPE_Get_mouse_press( MPE_XGraph graph, int *x, int *y, int *button )
.fi
.SH INPUT PARAMETER
.PD 0
.TP
.B graph 
- MPE graphics handle
.PD 1

.SH OUTPUT PARAMETERS
.PD 0
.TP
.B x 
- horizontal coordinate of the point where the mouse button was pressed
.PD 1
.PD 0
.TP
.B y 
- vertical coordinate of the point where the mouse button was pressed
.PD 1
.PD 0
.TP
.B button 
- which button was pressed: 'MPE_BUTTON[1-5]'
.PD 1

.SH NOTES
This routine waits for mouse button press, blocking
until the mouse button is pressed inside this MPE window.
When pressed, returns the coordinate relative to the upper right of
this MPE window and the button that was pressed.

.SH LOCATION
../src/graphics/src/xmouse.c
